<?php 
//toddyBOOK (v1) 2006
//quiksilver shoutbox 2006
include 'book.inc.php'; 

////////////////HEADER INFO////////////////

header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: text/vnd.wap.wml;");
echo '<?xml version="1.0" encoding="utf-8"?>';
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">'.
'<wml>
<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';

////////////////ADD A MSG////////////////
echo "<card id=\"shoutbox\" title=\"$title\"><p align=\"center\">";
echo "<b>$title</b><br/>"; 
echo "add shout<br/></p><p>";
?>
name:<br/>
<input name="name" maxlength="12"/>
<br/>message:<br/>
<input name="say" maxlength="150"/>

<?
echo "<br/>";
echo "<a title=\"Enter\" href=\"add2.php?name=$(name)&amp;msg=$(say)\">[shout]</a>";

//echo "<br/><a href=\"welcome.php\">Back</a>";


echo "<br/>";
echo "</p></card></wml>";
?>
